﻿using System;
using GalaSoft.MvvmLight.Messaging;

namespace SimpleChat
{
    public class ChatContentMessage : MessageBase
    {
        public enum MessageType 
        {
            System,
            Chat
        }

        public MessageType Type { get; set; }
        public string Message { get; set; }
        public DateTime Date { get; set; }

        public ChatContentMessage(string message, MessageType type)
        {
            Date = DateTime.Now;
            Message = message;
            Type = type;
        }
    }
}
